CREATE OR REPLACE PACKAGE pkg_html_utils
IS

   --TYPE DECLARATIONS
   TYPE type_option_rec
   IS RECORD
      ( the_value VARCHAR2( 400 )
      , the_display VARCHAR2( 400 ) );
      
   TYPE type_option_tab
   IS TABLE OF type_option_rec
   INDEX BY BINARY_INTEGER;
   
   --GLOBAL VARIABLES   
   option_list type_option_tab;
   option_list_index BINARY_INTEGER;
   
   --PROCEDURES
   PROCEDURE p_make_select
      ( the_name VARCHAR2
      , the_match_val VARCHAR2
      , disabled CHAR DEFAULT 'N'
      , the_attributes VARCHAR2 DEFAULT NULL );
   
   PROCEDURE clear_option_list;
   PROCEDURE add_option
      ( the_value VARCHAR2
      , the_display VARCHAR2 );  

   PROCEDURE p_make_ul
      ( make_anchor IN VARCHAR2 DEFAULT 'N'
      , ul_attributes IN VARCHAR2 DEFAULT NULL
      , li_attributes IN VARCHAR2 DEFAULT NULL
      , a_attributes IN VARCHAR2 DEFAULT NULL );

END pkg_html_utils;









